package com.example.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
public class Information {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField(value = "uId")
    private Long uId;
    private String name;
    private String sex;
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birth;
    private String photo;
    private Integer points;
    private Double balance;
    @TableField(value = "borrowNum")
    private Integer borrowNum;
    @TableField(value = "purchaseNum")
    private Integer purchaseNum;


}
